<%--
    
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" href="<c:url value="/css/estilos.css" /> " type="text/css">
        <link rel="stylesheet" href="<c:url value="/css/jquery.jdMenu.css" /> " type="text/css">
        <script type="text/javascript" src="<c:url value="/js/jquery.js" /> "></script>
        <script type="text/javascript" src="<c:url value="/js/jquery.dimensions.js" /> "></script>
        <script type="text/javascript" src="<c:url value="/js/jquery.positionBy.js" /> "></script>
        <script type="text/javascript" src="<c:url value="/js/jquery.jdMenu.js" /> "></script>
        <title>JSP Page</title>
    </head>
    <body>
        <table align="center" width="750px" border="0" cellpadding="0px" cellspacing="0px">
            <tr>
                <td align="center"><a href="index.php"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="750" height="150" id="banner" align="middle">
                            <param name="allowScriptAccess" value="sameDomain" />
                           <param name="movie" value="<c:url value="/imagenes/banner.swf" />" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="<c:url value="/imagenes/banner.swf" />" quality="high" bgcolor="#ffffff" width="750" height="150" name="banner" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
                        </object></a></td>

            </tr>
            <tr>
                <td height="3px"></td>
            </tr>
            <tr>
                <td height="3px" bgcolor="#FFFFFF"></td>
            </tr>
            <tr>
                <td align="center" bgcolor="#3E690D">
                    <ul class="jd_menu">
                        <li><a href="#" title="Alumnos">Académico &nabla;</a>
                            <ul>
                                <li><a href="adminSemestre.htm"  title="Semestre">Semestres</a></li>
                                <li><a href="adminCurso.htm"  title="Cursos">Cursos</a></li>
                                <li><a href="adminProfesor.htm"  title="Docentes">Docentes</a></li>
                                <li><a href="adminAlumno.htm"  title="Alumnos">Alumnos</a></li>
                                <li><a href="adminAsignacion.htm"  title="Asignacion Academica">Asignacion Academica</a></li>
                            </ul>
                        </li>
                        
                        <li><a href="admin.php?opt=adminUsuario" class="remote" title="Usuario">Usuario</a>
                        <li><a href="<c:url value="/deslogeo.htm" />">Salir</a>
                    </ul>
                </td>
            </tr>
            <tr>
                <td height="3px" bgcolor="#FFFFFF"></td>
            </tr>
            <tr>
                <td height="3px"></td>
            </tr>
            <tr>
                <td>
                    <table border="0" cellpadding="0px" cellspacing="0px">
                        <tr height="10px">
                            <td colspan="5">
                                <table width="750px" height='10px' border="0" cellpadding="0px" cellspacing="0px">
                                    <tr>
                                        <td><img src="<c:url value="/imagenes/bordeSuperiorIzquierdo.jpg" />"></td>
                                        <td valign="top">
                                            <table width="730px" height='10px' border="0" cellpadding="0px" cellspacing="0px">
                                                <tr><td height="1px" bgcolor="#3F7299"></td></tr>
                                                <tr><td height="9px"></td></tr>
                                            </table>
                                        </td>
                                        <td><img src="<c:url value="/imagenes/bordeSuperiorDerecho.jpg" />"></td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr valign='top'>
                            <td width="1px" bgcolor="#3F7299"></td>
                            <td width="20px"></td>
                            <td>
                                <table width="708px" border="0" cellpadding="0px" cellspacing="0px">
                                    <tr valign="top" width="728px">
                                        <td id="contenido" height="200px">
                                            <table align="center">
                                                <tr>
                                                    <td>
                                                        <h4 align="CENTER">SEMESTRES</h4>
                                                        <hr>
                                                        <table width="100%" >
                                                            <tr >
                                                                <td colspan="5" align="center" >
                                                                    <form:form  commandName="Semestrebean">
                                                                        <table align="center" width="90%">
                                                                            <tr>
                                                                                <td>Descripcion:</td>
                                                                                <td><form:input path="descripcion" size="30"/></td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td>año:</td>
                                                                                <td><form:input path="anio" size="20"/> </td>
                                                                            </tr>
                                                                           
                                                                            <tr>
                                                                                <td align="center" colspan="2">
                                                                                    <input type="submit" value="${opcion}">
                                                                                    <input type="RESET" value="Limpiar">
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </form:form>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td colspan="5"></td>
                                                            </tr>
                                                            <tr class="tTitulo">
                                                                <td align="center"><b>Descripcion</b></td>
                                                                <td align="center"><b>Año</b></td>
                                                                <td align="center"><b>Opciones</b></td>
                                                            </tr>
                                                            <c:if test="${empty lista_semestres}">
                                                                <tr class="tResultado" >
                                                                    <td colspan="5"> No hay registro de Semestre</td>
                                                                </tr>
                                                            </c:if>

                                                             <c:forEach items="${lista_semestres}" var="semestre">
                                                            <tr class="tResultado" >
                                                                <td> <c:out value="${semestre.descripcion}"/></td>
                                                                <td> <c:out value="${semestre.anio}"/></td>
                                                               
                                                                <td><a href="adminSemestre.htm?id=<c:out value="${semestre.id_semestre}"/>">Editar</a> - <a href="eliminaSemestre.htm?id=<c:out value="${semestre.id_semestre}"/>" onclick="return confirm('Esta seguro que desea borrar el elemento?')">Eliminar</a></td>
                                                            </tr>
                                                            </c:forEach>
                                                            <tr>
                                                                <td colspan="5" height="5px"></td>
                                                            </tr>
                                                            <tr>
                                                                <td colspan="5"><hr></td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </table>
                                            <br>

                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td width="20px"></td>
                            <td width="1px" bgcolor="#3F7299"></td>
                        </tr>
                        <tr height="10px">
                            <td colspan="5">
                                <table width="750px" height='10px' border="0" cellpadding="0px" cellspacing="0px">
                                    <tr>
                                        <td><img src="<c:url value="/imagenes/bordeInferiorIzquierdo.jpg" />"></td>
                                        <td>
                                            <table width="730px" height='10px' border="0" cellpadding="0px" cellspacing="0px">
                                                <tr><td height="9px"></td></tr>
                                                <tr><td height="1px" bgcolor="#3F7299"></td></tr>
                                            </table>
                                        </td>
                                       <td><img src="<c:url value="/imagenes/bordeInferiorDerecho.jpg" />"></td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td height="3px" bgcolor="#FFFFFF"></td>
            </tr>
            <tr>
                <td align="center"><img src="<c:url value="/imagenes/imagne1.jpg" />"></td>
            </tr>
        </table>
    </body>
</html>